package models

import "time"

type UserRole struct {
	UserId    int64 `gorm:"primaryKey" json:"user_id"`
	RoleId    int64 `gorm:"column:role_id;not null" json:"role_id"`
	CreatedAt time.Time
}

func (table *UserRole) TableName() string {
	return "user_role"
}
